/**
 * Created by 1 on 2020/2/17.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import mutations from './mutations'

Vue.use(Vuex)



export default new Vuex.Store({
  state,
  actions: {
    /*  因为没有异步操作，可以跳过actions  */
    /*changeCity(ctx, city) {
      ctx.commit('changeCity', city)
    }*/
  },
  mutations
})
